package com.quanyan.activity.mapper;

import com.quanyan.activity.entity.db.TbActivity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * QueryMyActivityMapper
 *
 * @author Li Shuai
 * @date 16/6/6
 */
public interface QueryMyActivityMapper {

    List<TbActivity> myActivityList(@Param("uid")Integer uid ,@Param("pageSize")Integer pageSize,@Param("pageIndex")Integer pageIndex) ;

    int countMyActivityList(@Param("uid")Integer uid ,@Param("pageSize")Integer pageSize,@Param("pageIndex")Integer pageIndex) ;

    List<Map<String, Long>> selectIsFull(@Param("list") List<Integer> activityIds);

    List<Integer> selectStartingIds(List<Integer> activityIds);
}
